﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Tile_Editor
{
    class Tile
    {
        public Tile()
        {
            this.eventString = null;
            this.imageID = 0;
            this.obstacle = false;
            this.terrainType = 0;
            this.eventIndex = -1;
        }

        int terrainType;

        public int TerrainType
        {
            get { return terrainType; }
            set { terrainType = value; }
        }
        int xPos;

        public int XPos
        {
            get { return xPos; }
            set { xPos = value; }
        }
        int yPos;

        public int YPos
        {
            get { return yPos; }
            set { yPos = value; }
        }
        int imageID;

        public int ImageID
        {
            get { return imageID; }
            set { imageID = value; }
        }
        bool obstacle;

        public bool Obstacle
        {
            get { return obstacle; }
            set { obstacle = value; }
        }

        string eventString;

        public string EventString
        {
            get { return eventString; }
            set { eventString = value; }
        }

        public override string ToString()
        {
            return eventString;
        }

        int eventIndex;

        public int EventIndex
        {
            get { return eventIndex; }
            set { eventIndex = value; }
        }

    }
}
